package ModelImplementation

import "time"

type SalesReceipt struct {
	itsSaleDate time.Time
	itsAmount float64
}

func (s *SalesReceipt) newSalesReceipt(saleDate time.Time, amount float64) {
	s.itsSaleDate = saleDate
	s.itsAmount = amount
}

func (s *SalesReceipt) GetAmount() float64 {
	return s.itsAmount
}

func (s *SalesReceipt) GetSaleDate() time.Time {
	return s.itsSaleDate
}
